import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import axios from 'axios'
import './assets/css/global.css'
import Highlight from './assets/js/highlight'
import MetaInfo from 'vue-meta-info'
import VueParticles from 'vue-particles'

Vue.use(Highlight)
Vue.use(MetaInfo)
Vue.use(VueParticles)

axios.defaults.baseURL = 'http://47.106.168.239:8098/view/'
Vue.prototype.$axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
  mounted: () => {
    document.dispatchEvent(new Event('render-event'))
  }
}).$mount('#app')
